package com.briup.pts.service.impl;

import com.briup.pts.domain.bean.Batch;
import com.briup.pts.domain.bean.Hurdles;
import com.briup.pts.mapper.BatchMapper;
import com.briup.pts.service.BatchService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wy
 * @description
 * @data 2024/11/29  15:10
 */
@Service
@RequiredArgsConstructor
public class BatchServiceImpl implements BatchService {

    private final BatchMapper mapper;
    @Override
    public List<Batch> queryAll() {

        return  mapper.queryAll();
    }

    @Override
    public List<Hurdles> selectAllHurdles() {

        return mapper.selectAllHurdles();
    }
}
